﻿using blackhouse.BlackApart.Business.Furnitures;
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Web;

namespace blackhouse.StareKino.Web {
    public class DisplayFurniture {

        #region Properties

        public IFurniture Furniture { get; private set; }
        public string IconSrc { get; private set; }

        #endregion

        #region Constructors

        public DisplayFurniture(IFurniture furniture,Size iconSize) {
            this.Furniture = furniture;
            this.IconSrc = this.Furniture.GetFurnitureIconImageUrl(iconSize);
            if (String.IsNullOrEmpty(this.IconSrc))
                this.IconSrc = "/Data/SiteImages/blueStar.png";
        }

        #endregion

    }
}